package plus.H5D3B5016.bean;


/**
 * 下单
 */
public class WT {

    private int type=0;//0=市价  1=限价

    private int rate;
    private String direction;
    private int duration;
    private int inAmount;
    private int slPercent;
    private int tpPercent;
    private String txCurrency;

    private int min;// 限价
    private int max;// 限价
    private int state;//0=等待下单 1=成功下单 2=下单失败

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }

    public int getMax() {
        return max;
    }

    public void setMax(int max) {
        this.max = max;
    }

    public int getRate() {
        return rate;
    }

    public void setRate(int rate) {
        this.rate = rate;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public int getInAmount() {
        return inAmount;
    }

    public void setInAmount(int inAmount) {
        this.inAmount = inAmount;
    }

    public int getSlPercent() {
        return slPercent;
    }

    public void setSlPercent(int slPercent) {
        this.slPercent = slPercent;
    }

    public int getTpPercent() {
        return tpPercent;
    }

    public void setTpPercent(int tpPercent) {
        this.tpPercent = tpPercent;
    }

    public String getTxCurrency() {
        return txCurrency;
    }

    public void setTxCurrency(String txCurrency) {
        this.txCurrency = txCurrency;
    }


    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
